package com.luke.exercise.jvm;

public class StackOOMTest {

    int i = 0;
    public void stackLeak() {
        System.out.println(i++);
        stackLeak();
    }
    
    public static void main(String[] args) {
        StackOOMTest test = new StackOOMTest();
        test.stackLeak();
    }
}
